Rugby
Author: Sebastien Moreau
Date: 19/12/2005

hauteur de la barre =5m

réalisation : Sébastien Moreau

recul = 46 (slider from 0 to 70, step 1)
f(x) = -0.025 (x + recul)² + 1.25 (x + recul)
Joueur, I = Intersect(f, xAxis)
c = Line(Joueur, I)
g = Function(-0.025 (x + recul)² + 1.25 (x + recul), x(Joueur), x(I))
ballon = -42 (slider from -100 to 100, step 0.1)
e: x = ballon
G = Intersect(g, e)
A = (-2, 9)
B = (2, 8)
C = (2, -0.5)
D = (-2, 0.5)
P, a, b, c_1, d = Polygon(A, B, C, D)
E = Point(d)
F = Point(b)
h = Segment(E, F)
H = Midpoint(E, F)